{{include file='home/header.tpl'}}
<div id="main">
	<div class="container">
		{{if !empty($side)}}
		{{include file='home/sidecate.tpl'}}
		{{else}}
		{{include file='home/sidebar-news.tpl'}}
		{{/if}}
		<div class="main-right">
			<div class="main-title">
				<h1>{{h($cateNow.0.CateName)}}</h1>
				{{include file='home/crumbs.tpl'}}
			</div>
			<div class="main-content">
				<div class="article-body">
					<p class="article-title">
						<a href="" target="_blank">{{h($data.0.Title)}}</a>
					</p>
					<table class="article-detail">
						<tr>
							<td>
								<span>来源：{{h($data.0.Source)}}</span>
								<span>阅读次数：{{h($data.0.ReadTimes)}}</span>
								<span>发布时间：
									{{if !empty($data.0.PubTime)}}
									{{date('Y-m-d',$data.0.PubTime)}}
									{{else}}
									{{date('Y-m-d',$data.0.Time)}}
									{{/if}}
								</span>
							</td>
						</tr>
					</table>
					<div id="article-content">
						<div>{{$data.0.Content}}</div>
						{{if !empty($data.0.File)}}
						{{foreach json_decode($data.0.File) as $v}}
						<a href="{{base_url()}}webDisk/{{$v}}">{{$v}}</a></br>
						{{/foreach}}
						{{/if}}
					</div>
				</div>
				<div class="page-footer">
					{{if !empty($next)}}
					<p class="nextPage">
						<a href="{{site_url("home/content?Id={{$next.Id}}")}}">下一篇：{{$next.Title}}</a>
					</p>
					{{/if}}
				</div>
			</div>
		</div>
	</div>
</div>
{{include file='home/footer.tpl'}}
